//
//  MusicSheetView.m
//  MusicAnalyzer
//
//  Created by jiro on 12/04/04.
//  Copyright 2012 jiro music. All rights reserved.
//

#import "MusicSheetView.h"

#import "../StateMachine/Event/AllEvents.h"

@implementation MusicSheetView

- (id)initWithFrame:(NSRect)frame 
{
    self = [ super initWithFrame: frame ];
    if ( self == nil )
	{
		return nil;
	}
	
	musicSheetRegion = [ [ MusicSheetRegion alloc ] init ];

    return self;
}

- (void)drawRect:(NSRect)dirtyRect
{
	[ super drawRect: dirtyRect ];

	//	draw music sheet
	int count = [ musicSheetRegion fiveLinesCount ];
	for ( int i = 0; i < count; i++ )
	{
	}

}

-(void) mouseDown:(NSEvent *)theEvent
{
	NSLog( @"MusicSheetView: - (void) mouseDown:(NSEvent *)theEvent" );
	[ super mouseDown: theEvent ];

	//	hit test

}

@end
